Adding namespaces, element declarations, and complex types to an XML profile
Use the namespace pane on the Types tab to add namespaces, element declarations, and complex types to an XML profile.
-
Create or open an XML profile and go to the Types tab.
-
Click the Add Namespace button.
-
Select the namespace in the left pane.
-
Optional: In the right pane change the namespace’s name, add a prefix and/or add comments.
-
Click the blue arrow
next to the namespace, then select one of the actions from the list:
-
Add Element Declaration.
-
Add Complex Type.
-
Delete Namespace.
The element declaration or complex type appears in the tree.
-
-
After you have added an element declaration you can do any of the following:
The element declaration’s default name is “type” plus a sequence number, indicating its place within the namespace. It has a blue building block icon
.
-
Change the name and/or add comments.
-
Reference a complex type by selecting one from the Type list.
If the element declaration references a complex type, you cannot set Field Size options, set Data Format options, add qualifiers, add child elements or add attributes.
-
Set Field Size options, set Data Format options, and/or add qualifiers.
-
Add one or more child elements.
-
Add one or more attributes.
-
Delete the element declaration.
-
-
After you have added a complex type you can do any of the following:
The complex type’s default name is “type” plus a sequence number, indicating its place within the namespace. It has a yellow building block icon
.
-
Change the name and/or add comments.
-
Set Field Size options, set Data Format options, and/or add qualifiers.
-
Add one or more child elements.
-
Add one or more attributes.
-
Delete the complex type.
-
-
Click Save.